from django.conf.urls.defaults import patterns

urlpatterns = patterns(
                       '',
                       (r'^$', 'views.index'),
                       (r'^home$', 'views.home'),
                       (r'^mentioned$', 'views.mentioned'),
                       (r'^status/(\d+)$', 'views.status'),
                       (r'^update$', 'views.update'),
                       (r'^favorites$', 'views.fav'),
                       (r'^dm/(inbox|sent)$', 'views.dm'),
                       (r'^dm/sent$', 'views.dm'),
                       (r'^login$', 'views.login'),
                       (r'^setting$', 'views.setting'),
                       (r'^signout$', 'views.signout'),
                       (r'^edit/(\d+)$', 'views.edit'),
                       (r'^ajax/retweet$', 'ajax.retweet'),
                       (r'^ajax/home_time_line$', 'ajax.home_time_line'),
                       (r'^ajax/update$', 'ajax.update'),
                       (r'^ajax/add_fav$', 'ajax.add_fav'),
                       (r'^ajax/del_fav$', 'ajax.del_fav'),
                       (r'^ajax/del_status$', 'ajax.del_status'),
                       (r'^auth$', 'oauthviews.auth'),
                       (r'^callback$', 'oauthviews.callback'),
                       (r'^([\w\d_]+)$', 'views.user')
                       )
